package com.itcast.excel.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 课程实体类
 *
 * @author zheng.zhang
 */
@Data
@TableName(value = "education_course")
public class CourseEntity {

    /**
     * 课程ID
     */
    private String courseId;

    /**
     * 课程名称
     */
    @Excel(name = "课程名称", orderNum = "1", width = 15)
    private String courseName;

    /**
     * 课程标签
     */
    private String tags;

    /**
     * 课程单价
     */
    @Excel(name = "课程单价", orderNum = "2", width = 15)
    private Double coursePrice;

    /**
     * 折扣价
     */
    @Excel(name = "折扣价", orderNum = "3", width = 15)
    private Double discountPrice;

    /**
     * 销售价格
     */
    @Excel(name = "销售价格", orderNum = "4", width = 15)
    private Integer saleCourse;

    /**
     * 课程URL
     */
    private String courseUrl;
}
